#include "DeviceInfo/DeviceInfo.c"
#include "ManagementServer/ManagementServer.c"
#include "WANDevice/WANDevice.c"
#include "WANDevice/WANConnectionDevice/WANConnectionDevice.c"
#include "WANDevice/WANConnectionDevice/WANIPConnection.c"


#if 1
//char* cpe_get_igd_device_summary(void * arg, void * pool)
char* cpe_get_igd_device_summary(cwmp_t * cwmp, const char * name, char ** value, pool_t * pool)
{
	FUNCTION_TRACE();
    //pool_t * p = (pool_t *)pool;
	*value = pool_pstrdup(pool, "InternetGatewayDevice:1.1[](Baseline:1,EthernetLAN:1,WiFiLAN:1,QoS:1,Bridging:1,Time:1,IPPing:1,DeviceAssociation:1,UDPConnReq:1,Download:1,DownloadTCP:1,Upload:1,UploadTCP:1,UDPEcho:1,UDPEchoPlus:1)");
	cwmp_log_debug("cpe_get_igd_device_summary: value is %s", *value);
    return FAULT_CODE_OK;
}

#else

int cpe_get_igd_device_summary(cwmp_t * cwmp, const char * name, char ** value, pool_t * pool)
{
    FUNCTION_TRACE();
    *value = cwmp_conf_pool_get(pool, "cwmp:cpe_summary");
    cwmp_log_debug("cpe_get_igd_device_summary: value is %s", *value);
    return	FAULT_CODE_OK;
}
#endif

char* cpe_get_igd_lan_device_number_of_entries(cwmp_t * cwmp, const char * name, char ** value, pool_t * pool)
{
    FUNCTION_TRACE();
    *value = pool_pstrdup(pool, "1");

    return FAULT_CODE_OK;
}

char* cpe_get_igd_wan_device_number_of_entries(cwmp_t * cwmp, const char * name, char ** value, pool_t * pool)
{
    FUNCTION_TRACE();
    *value = pool_pstrdup(pool, "1");

    return FAULT_CODE_OK;
}



